Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: jsonforms image upload renderer #272

Merged

Conversation

hanpuliu-charles
Copy link
Contributor

@hanpuliu-charles hanpuliu-charles commented Jul 5, 2024

Problem

Closes ISOM-1216

Made changes to the CSP to allow blob: for images, any security implications from this?

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible

Before & After Screenshots

AFTER:

image

@hanpuliu-charles hanpuliu-charles requested a review from a team as a code owner July 5, 2024 05:46
Copy link

linear bot commented Jul 5, 2024

Copy link

vercel bot commented Jul 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
isomer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2024 10:17am

…h BE, but need to fix CSP(or rewrite dataurl2blob) and suspense, loading&error msg
…wise cache user image and display if mutation succeeds)
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. please start working on the presign-upload flow so this feature works fully.

@karrui
Copy link
Contributor

karrui commented Jul 29, 2024

Also realise the image is not previewed on the right side yet. Unsure if it should be in this PR or the next. you decide. just ensure it's not dropped.

…blob<=>dataurl conversion helper functions) since out of scope for this pr
@hanpuliu-charles hanpuliu-charles merged commit 2eabad7 into main Jul 29, 2024
17 of 19 checks passed
@hanpuliu-charles hanpuliu-charles deleted the hanpu/isom-1216-create-image-upload-custom-renderer branch July 29, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants